package com.siysoft.tc.base.bean.to;



import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;


/**
 * The persistent class for the db_class database table.
 * 
 */
@Entity
@Table(name="db_class")
public class MyClass implements Serializable {
	private static final long serialVersionUID = 1L;
	private int classId;
	private String classAddress;
	private Timestamp classCdate;
	private String classCrowd;
	private String classNote;
	private int classNumber;
	private int classPageview;
	private BigDecimal classPrice;
	private String classStatus;
	private String classTitle;
	private String classType;
	private Timestamp classUdate;
	private String classUseFlg;
	private String locationX;
	private String locationY;
	private String modality;
	private String mode;
	private int userId;
	private int userNumber;
	private int classNumberRemain;


	public MyClass() {
	}


	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	@Column(name="class_id")
	public int getClassId() {
		return this.classId;
	}

	public void setClassId(int classId) {
		this.classId = classId;
	}


	@Column(name="class_address")
	public String getClassAddress() {
		return this.classAddress;
	}

	public void setClassAddress(String classAddress) {
		this.classAddress = classAddress;
	}


	@Column(name="class_cdate")
	public Timestamp getClassCdate() {
		return this.classCdate;
	}

	public void setClassCdate(Timestamp classCdate) {
		this.classCdate = classCdate;
	}


	@Column(name="class_crowd")
	public String getClassCrowd() {
		return this.classCrowd;
	}

	public void setClassCrowd(String classCrowd) {
		this.classCrowd = classCrowd;
	}


	@Column(name="class_note")
	public String getClassNote() {
		return this.classNote;
	}

	public void setClassNote(String classNote) {
		this.classNote = classNote;
	}


	@Column(name="class_number")
	public int getClassNumber() {
		return this.classNumber;
	}

	public void setClassNumber(int classNumber) {
		this.classNumber = classNumber;
	}


	@Column(name="class_pageview")
	public int getClassPageview() {
		return this.classPageview;
	}

	public void setClassPageview(int classPageview) {
		this.classPageview = classPageview;
	}


	@Column(name="class_price")
	public BigDecimal getClassPrice() {
		return this.classPrice;
	}

	public void setClassPrice(BigDecimal classPrice) {
		this.classPrice = classPrice;
	}


	@Column(name="class_status")
	public String getClassStatus() {
		return this.classStatus;
	}

	public void setClassStatus(String classStatus) {
		this.classStatus = classStatus;
	}


	@Column(name="class_title")
	public String getClassTitle() {
		return this.classTitle;
	}

	public void setClassTitle(String classTitle) {
		this.classTitle = classTitle;
	}


	@Column(name="class_type")
	public String getClassType() {
		return this.classType;
	}

	public void setClassType(String classType) {
		this.classType = classType;
	}


	@Column(name="class_udate")
	public Timestamp getClassUdate() {
		return this.classUdate;
	}

	public void setClassUdate(Timestamp classUdate) {
		this.classUdate = classUdate;
	}


	@Column(name="class_use_flg")
	public String getClassUseFlg() {
		return this.classUseFlg;
	}

	public void setClassUseFlg(String classUseFlg) {
		this.classUseFlg = classUseFlg;
	}


	@Column(name="location_x")
	public String getLocationX() {
		return this.locationX;
	}

	public void setLocationX(String locationX) {
		this.locationX = locationX;
	}


	@Column(name="location_y")
	public String getLocationY() {
		return this.locationY;
	}

	public void setLocationY(String locationY) {
		this.locationY = locationY;
	}


	public String getModality() {
		return this.modality;
	}

	public void setModality(String modality) {
		this.modality = modality;
	}


	public String getMode() {
		return this.mode;
	}

	public void setMode(String mode) {
		this.mode = mode;
	}


	@Column(name="user_id")
	public int getUserId() {
		return this.userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}


	@Column(name="user_number")
	public int getUserNumber() {
		return this.userNumber;
	}

	public void setUserNumber(int userNumber) {
		this.userNumber = userNumber;
	}

	@Column(name="class_number_remain")
	public int getClassNumberRemain() {
		return classNumberRemain;
	}


	public void setClassNumberRemain(int classNumberRemain) {
		this.classNumberRemain = classNumberRemain;
	}





}